home *** CD-ROM | disk | FTP | other *** search
-
-
-
- HHHHOOOOSSSSTTTTSSSS((((4444FFFF)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((JJJJaaaannnnuuuuaaaarrrryyyy 11118888,,,, 1111999999996666)))) HHHHOOOOSSSSTTTTSSSS((((4444FFFF))))
-
-
-
- NNNNAAAAMMMMEEEE
- hosts - _H_y_l_a_F_A_X client access control list
-
- DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
- The ASCII file eeeettttcccc////hhhhoooossssttttssss in the _H_y_l_a_F_A_X spooling area
- specifies the hosts and users that are permitted to access
- services through the _h_f_a_x_d(1M) process. This file must
- exist for client access; if it is not present then _h_f_a_x_d
- will deny all requests for service. Note also that this
- file must be readable only by the ``fax'' user; i.e. it
- should have mode 600 and be owned by ``fax''.
-
- Each newline-terminated entry is a set of colon (:)
- separated fields, all but the first of which are optional.
- Trailing null fields and their separators may be omitted.
- The most general form is:
-
- client:uid:passwd:adminwd
-
- _c_l_i_e_n_t is a regular expression to be matched against a
- string ``_u_s_e_r@_h_o_s_t'' that is formed from the _u_s_e_r string
- passed to _h_f_a_x_d with the UUUUSSSSEEEERRRR command and the official _h_o_s_t
- name or the DARPA Internet address, specified in ``dot
- notation''. If _c_l_i_e_n_t does not contain an ``@'' then, for
- backwards compatibility, it is treated as a host for which
- any user may have access; i.e. it is automatically converted
- to the regular expression ``^.*@_c_l_i_e_n_t$''.
-
- Comments are introduced with the ``#'' character and extend
- to the end of the line. Any whitespace immediately
- preceding a comment is also ignored.
-
- If _c_l_i_e_n_t has a leading ``!'', then it is interpreted as a
- class of hosts and users to which access is to be
- ddddiiiissssaaaalllllllloooowwwweeeedddd. That is, if the pattern matches the client
- information, then access is denied.
-
- Note that regular expressions are nnnnooootttt anchored. That is, a
- regular expression may match a substring of the
- ``_u_s_e_r@_h_o_s_t'' string. Thus `_p_b@.*\._c_l\._c_a_m\._a_c\._u_k' matches
- `_c_p_b@_m_c._c_l._c_a_m._a_c._u_k._e_s_d._s_g_i._c_o_m'. Use ``^'' to match the
- start of the string and ``$'' to match the end.
-
- Fields following _c_l_i_e_n_t are optional and specify the
- following:
-
- uuuuiiiidddd The numerical user ID to assign to clients that
- use the entry for access. _h_f_a_x_d uses the _u_i_d to
- control access to server resources such as jobs
- and documents (the value is used to set the group
- ID of files created by a client).
-
-
-
-
- Page 1 (printed 6/24/99)
-
-
-
-
-
-
- HHHHOOOOSSSSTTTTSSSS((((4444FFFF)))) UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((JJJJaaaannnnuuuuaaaarrrryyyy 11118888,,,, 1111999999996666)))) HHHHOOOOSSSSTTTTSSSS((((4444FFFF))))
-
-
-
- Multiple clients/users may share the same _u_i_d or
- unique IDs may be created for each client. User
- IDs may be any number in the range [0..6002] with
- 6002 used, by convention, for entries that do not
- have a _u_i_d specified.
-
- ppppaaaasssssssswwwwdddd The encrypted password. If this field is empty
- (null) then no password will be demanded when a
- client logs in; i.e. the UUUUSSSSEEEERRRR command does not
- need to be followed by a PPPPAAAASSSSSSSS command.
-
- aaaaddddmmmmiiiinnnnwwwwdddd The encrypted password for this user to gain
- administrative privileges. If this field is empty
- (null) then the user is not permitted to have
- administrative privileges.
-
- EEEEXXXXAAAAMMMMPPPPLLLLEEEE
- The following is a sample hosts file. Note that the first
- entry that matches is taken, so more-specific entries should
- be placed first.
- ^pb@[^.]*\.cl\.cam\.ac\.uk$:::hFy8zXq2KaG8s
- # pb on a machine directly in cl.cam.ac.uk can
- # administer if an admin pw is given
- 127.0.0.1 # anyone on local host uses the default uid
- ^sam@flake.*sgi\.com$ # Sam on his work machine
- ^sam@oxford.*Berkeley.*# Sam on any machine starting oxford and containing
- # Berkeley, e.g. sam@oxfordberkeley.cl.cam.ac.uk
- ^.*@.*.\.esd\. # anyone in an esd domain
- !^tom@ # Tom Davis is denied access
- .*\.sgi\.com$ # but anyone else at sgi is ok
-
- SSSSEEEEEEEE AAAALLLLSSSSOOOO
- _s_e_n_d_f_a_x(1), _h_f_a_x_d(1M), _h_y_l_a_f_a_x(4F)
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Page 2 (printed 6/24/99)
-
-
-
-